﻿using System.ComponentModel;

namespace LinPhoneWPF.BaseClass
{
    public class MyBindingBase:INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        public void OnPropertyChanged(string value)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(value));
            Properties.Settings.Default.Save();
        }
    }
}
